package stud.aistar.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import stud.aistar.entity.Comment;

/**
 * *
 *
 * @ClassName :wangyu
 * @Description
 * @Author
 * @Date2019/10/18 22:55
 * @Version V1.0
 */
public interface CommentMapper {

    @Insert("insert into comment(comment,user_id,doctor_id,create_time) values(#{com.comment},#{com.userId},#{com.doctorId},#{com.createTime})")
    void Insert(@Param("com") Comment comment);

}
